<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<title></title>
	<meta name="renderer" content="webkit">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
	<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
	<meta name="apple-mobile-web-app-status-bar-style" content="black">
	<meta name="apple-mobile-web-app-capable" content="yes">
	<meta name="format-detection" content="telephone=no">
	<link rel="stylesheet" href="__PUBLIC__/static/layui/css/layui.css" media="all" />
</head>
<body>
	<div style="margin: 15px;">
		<form class="layui-form">
			<input type="hidden" name="id" value="{$college.id|default=''}">

			<div class="layui-form-item">
				<label class="layui-form-label">学院名称</label>
				<div class="layui-input-block">
					<input type="text" name="name" lay-verify="name" autocomplete="off" placeholder="请输入学院名称" class="layui-input" style="width:80%;" value="{$college.name|default=''}">
				</div>
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label">负责人姓名</label>
				<div class="layui-input-block">
					<input type="text" name="leadername" lay-verify="leadername" autocomplete="off" placeholder="请输入负责人姓名" class="layui-input" style="width:80%;" value="{$college.leadername|default=''}">
				</div>
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label">负责人电话</label>
				<div class="layui-input-block">
					<input type="tel" name="leaderphone" lay-verify="phone" autocomplete="off" placeholder="请输入负责人电话" class="layui-input" style="width:80%;" value="{$college.leaderphone|default=''}">
				</div>
			</div>
			<div class="layui-form-item">
				<label class="layui-form-label">备注</label>
				<div class="layui-input-block" >
					<input type="text" name="comment" lay-verify="comment" autocomplete="off" placeholder="请输入备注（可为空）" class="layui-input" style="width:80%;" value="{$college.comment|default=''}">
				</div>
			</div>
			<div class="layui-form-item">
				<div class="layui-input-block">
					<button class="layui-btn" lay-submit="" lay-filter="demo1">保存</button>
					<button type="reset" class="layui-btn layui-btn-primary">重置</button>
				</div>
			</div>

		</form>
	</div>
</body>
<layuijs/>
<script type="text/javascript">
	var editurl = "";
	if ('{$type}' == 'update'){
		editurl = "{:U('Home/CollegeMgr/updateCollege')}";
	}else if ('{$type}' == 'add'){
		editurl = "{:U('Home/CollegeMgr/addCollege')}";
	}
	var rooturl = "__ROOT__/";
</script>
<script type="text/javascript" src="__PUBLIC__/static/js/editCollege.js"></script>
</html>